/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.bus.entity;

import org.hibernate.validator.constraints.Length;

import com.thinkgem.jeesite.common.persistence.DataEntity;

import java.util.List;
import java.util.Map;

/**
 * 补助标准Entity
 * @author sy
 * @version 2019-06-11
 */
public class SubsidyStandard extends DataEntity<SubsidyStandard> {
	
	private static final long serialVersionUID = 1L;
	private String name;		// 疫苗名称
	private String animalTypeCode;		// 动物种类代码
	private String animalTypeName;		// 动物种类名称
	private String standardNum;		// 补助标准金额
	private String standardTypeCode;		// 补助标准单位代码
	private String standardTypeName;		// 补助标准单位名称
	private String sort;		// 排序
	private String status;		// 启用状态 0=不可用 1=可用

	/*新增字段*/
	private String vaccineTypeCode;		//疫苗品种代码
	private String vaccineTypeName;		//疫苗品种名称
	private String vaccineEntId;		//多个疫苗企业id(用逗号隔开)
	private String vaccineEntName;		//多个疫苗企业name(用逗号隔开)
	private String applyEntType;		//适用企业(1:全部企业，2：个别企业)
	private String vaccineManageId;		//疫苗表ID

	/*辅助字段*/
	private List<VaccineEnt> entList;		//疫苗厂家列表


	public SubsidyStandard() {
		super();
	}

	public SubsidyStandard(String id){
		super(id);
	}

	@Length(min=0, max=50, message="疫苗名称长度必须介于 0 和 50 之间")
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}
	
	@Length(min=0, max=4, message="动物种类代码长度必须介于 0 和 4 之间")
	public String getAnimalTypeCode() {
		return animalTypeCode;
	}

	public void setAnimalTypeCode(String animalTypeCode) {
		this.animalTypeCode = animalTypeCode;
	}
	
	@Length(min=0, max=20, message="动物种类名称长度必须介于 0 和 20 之间")
	public String getAnimalTypeName() {
		return animalTypeName;
	}

	public void setAnimalTypeName(String animalTypeName) {
		this.animalTypeName = animalTypeName;
	}
	
	@Length(min=0, max=10, message="补助标准金额长度必须介于 0 和 10 之间")
	public String getStandardNum() {
		return standardNum;
	}

	public void setStandardNum(String standardNum) {
		this.standardNum = standardNum;
	}
	
	@Length(min=0, max=4, message="补助标准单位代码长度必须介于 0 和 4 之间")
	public String getStandardTypeCode() {
		return standardTypeCode;
	}

	public void setStandardTypeCode(String standardTypeCode) {
		this.standardTypeCode = standardTypeCode;
	}
	
	@Length(min=0, max=20, message="补助标准单位名称长度必须介于 0 和 20 之间")
	public String getStandardTypeName() {
		return standardTypeName;
	}

	public void setStandardTypeName(String standardTypeName) {
		this.standardTypeName = standardTypeName;
	}
	
	@Length(min=0, max=4, message="排序长度必须介于 0 和 4 之间")
	public String getSort() {
		return sort;
	}

	public void setSort(String sort) {
		this.sort = sort;
	}
	
	@Length(min=0, max=1, message="启用状态 0=不可用 1=可用长度必须介于 0 和 1 之间")
	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public String getVaccineTypeCode() {
		return vaccineTypeCode;
	}

	public void setVaccineTypeCode(String vaccineTypeCode) {
		this.vaccineTypeCode = vaccineTypeCode;
	}

	public String getVaccineTypeName() {
		return vaccineTypeName;
	}

	public void setVaccineTypeName(String vaccineTypeName) {
		this.vaccineTypeName = vaccineTypeName;
	}

	public String getVaccineEntId() {
		return vaccineEntId;
	}

	public void setVaccineEntId(String vaccineEntId) {
		this.vaccineEntId = vaccineEntId;
	}

	public String getVaccineEntName() {
		return vaccineEntName;
	}

	public void setVaccineEntName(String vaccineEntName) {
		this.vaccineEntName = vaccineEntName;
	}

	public String getApplyEntType() {
		return applyEntType;
	}

	public void setApplyEntType(String applyEntType) {
		this.applyEntType = applyEntType;
	}

	public String getVaccineManageId() {
		return vaccineManageId;
	}

	public void setVaccineManageId(String vaccineManageId) {
		this.vaccineManageId = vaccineManageId;
	}

	public List<VaccineEnt> getEntList() {
		return entList;
	}

	public void setEntList(List<VaccineEnt> entList) {
		this.entList = entList;
	}
}